package com.sparrow.support;

import com.sparrow.datasource.DataSourceTransactionManager;
import com.sparrow.datasource.TransactionManager;

public class TransactionSupport {
	public TransactionManager getTransactionManager() {
		return DataSourceTransactionManager.getInstatance();
	}

	public TransactionManager getTransactionManager(Enum<?> pn) {
		return DataSourceTransactionManager.getInstatance(pn);
	}
}
